package com.monika.main.system.demo.jobs;

import com.monika.main.system.quartz.support.JobSupport;
import org.quartz.JobExecutionContext;
import org.quartz.Scheduler;
import org.springframework.beans.factory.annotation.Autowired;

public class TestJob extends JobSupport {

    @Autowired
    Scheduler scheduler;

    @Override
    public void doExecute(JobExecutionContext jobExecutionContext) {


        System.out.println("TestJob:"+scheduler);

        System.out.println("TestJob:"+Thread.currentThread().getName());
    }
}
